package cn.edu.gduf.luowowo.member.mapper;


import cn.edu.gduf.luowowo.common.query.QueryObject;
import cn.edu.gduf.luowowo.member.domain.Item;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Item record);

    Item selectByPrimaryKey(Long id);

    List<Item> selectAll();

    int updateByPrimaryKey(Item record);

    List<Item> selectForList(QueryObject qo);

    void updateStorenum(@Param("num") int num, @Param("id") Long id);
}